package com.landeb.shop.huo.httpRequest;

import com.landeb.shop.huo.bean.BeanActAddressSelect;
import com.landeb.shop.huo.bean.BeanActOrderDetail;
import com.landeb.shop.huo.bean.BeanGoodsCollectionLV;
import com.landeb.shop.huo.bean.BeanStatusInfo;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by blade on 2016/11/29.
 */

public interface ActAddressSelectRequest {

    @GET("User/address_list")
    Observable<BeanActAddressSelect> getAddressList();

    @FormUrlEncoded
    @POST("User/address_del")
    Observable<BeanStatusInfo> removeAddress(@Field("id") String id);

    @FormUrlEncoded
    @POST("User/address_set_default")
    Observable<BeanStatusInfo> setDefault(@Field("id") String id);

}
